@import "../variables";

/*==浏览路径==*/
.yourpos {
    display: block;
    padding: 15px 0;
    font-size: 14px;
    background-color: #F2F2F2;
}

/*==商品详情==*/
.preview-wrap {
    width: 400px;
    float: left;
}

.preview {
    width: 400px;
    margin: 0;
}

.zoom-div {
    display: block;
    position: relative;

    .imgbox {
        width: 400px;
        height: 400px;
        overflow: hidden;
        display: block;
        position: relative;
        border: 1px #DDD solid;
        background-color: #fff2f2;
    }

    .bigimg {
        width: 400px;
        height: 400px;
        display: block;
    }

    .dragbox {
        width: 140px;
        height: 140px;
        background: url("#{$image-path}/common/mask.png");
        position: absolute;
        z-index: 100;
        left: 0;
        top: 0;
        display: none;
    }

    .previewbox {
        position: absolute;
        left: 405px;
        top: 0;
        width: 500px;
        height: 500px;
        border: 1px #DDD solid;
        overflow: hidden;
        background-color: #F2F2F2;
        z-index: 500;
        display: none;

        .previewimg {
            width: 1000px;
            height: 1000px;
            margin-left: 0;
            margin-top: 0;
        }
    }

    .thumbs {
        display: block;
        margin-top: 10px;

        ul {
            margin: 0 -5px;

            li {
                width: 20%;
                float: left;

                .bg {
                    margin: 5px;
                    height: 72px;
                    display: block;
                    border: 2px #DDD solid;
                    cursor: pointer;
                }
            }

            li.active {
                .bg {
                    border-color: #f00;
                }
            }
        }
    }
}

.iteminfo-wrap {
    float: left;
    margin-left: 30px;
    width: 530px;
    font-size: 12px;
    position: relative;

    .item-name {
        font-size: 16px;
        line-height: 1.3;
        padding: 10px 0;
        color: #333;
    }

    .item-brief {
        padding: 0 0 15px 0;
        font-size: 13px;
        line-height: 1.1;
        display: block;
        color: #666;
    }

    .item-group {
        padding: 10px;
        display: block;
        position: relative;

        .label {
            width: 80px;
            font-size: 12px;
            height: 22px;
            line-height: 22px;
            float: left;
            color: #888;
            font-family: simsun;
        }

        .info {
            float: left;
        }
    }

    .price-wrap {
        background-color: #FFF2E7;
        padding: 5px 0;
        position: relative;
    }

    .p-price {
        color: #ff0000;
        line-height: 22px;
        height: 22px;

        span {
            font-size: 16px;
        }

        strong {
            font-size: 22px;
        }
    }

    .buy-num-wrap {
        height: 26px;
        border: 1px #DDD solid;

        .btn {
            float: left;
            width: 24px;
            text-align: center;
            cursor: pointer;
            line-height: 24px;
            font-size: 16px;
            background-color: #f0f0f0;
            padding: 0;
        }

        .buy-num {
            height: 24px;
            text-align: center;
            background-color: #fff;
            border-color: #DDD;
            border-style: solid;
            border-width: 0 1px 0 1px;
            width: 40px;
            float: left;
            font-size: 16px;
        }
    }

    .btn-lg {
        font-size: 16px;
        margin-right: 10px;
        height: 38px;
        line-height: 36px;
        padding: 0 30px;
        border: 1px #E12D2C solid;
        background-color: #E12D2C;
        color: #fff;
        display: inline-block;
        border-radius: 2px;
    }

    .btn-buy-now {
        background-color: #FFE4CF;
        color: #e5511d;
        border-color: #f0cab6;
    }

    .radio {
        font-size: 12px;
        height: 14px;
        width: 14px;
    }

    .p-stat {
        position: absolute;
        top: 0;
        right: 10px;
        font-size: 12px;

        li {
            display: block;
            padding: 10px;
            float: left;

            h3 {
                font-size: 14px;
                text-align: center;
            }

            p {
                font-size: 12px;
                text-align: center;
                display: block;
                padding-top: 7px;
            }
        }
    }
}


.iteminfo-wrap .share {
    color: #888;
    float: left;
    margin-right: 30px;
    cursor: pointer;
}

.iteminfo-wrap .favorite {
    color: #888;
    cursor: pointer;
}

.iteminfo-wrap .iconfont {
    margin-right: 3px;
}

.shopinfo-wrap {
    width: 200px;
    float: right;
    border: 1px solid #ffe2a3;
}

.shopinfo-wrap .shop-header {
    display: block;
}

.shopinfo-wrap .shop-header img {
    width: 100%;
    height: auto;
    display: block;
    border: 0;
}

.shopinfo-wrap .shopinfo {
    display: block;
    padding: 20px 15px;
}

.shopinfo-wrap .shopinfo h3 {
    font-size: 12px;
    height: 20px;
    display: block;
    margin-bottom: 5px;
}

.shopinfo-wrap .shopinfo .row {
    height: 20px;
    display: block;
    margin: 0 0 5px 0;
}

.shopinfo-wrap .shopinfo .row dl {
    font-size: 12px;
}

.shopinfo-wrap .shopinfo .row dl dt {
    width: 40px;
    float: left;
    color: #666;
}

.shopinfo-wrap .shopinfo .separate {
    height: 1px;
    clear: both;
    border-bottom: 1px #DDD dotted;
}

.shopinfo-wrap .shopinfo .btn {
    height: 28px;
    width: 75px;
    background-color: #fafafa;
    display: inline-block;
    font-size: 12px;
    border: 1px #e5e5e5 solid;
    border-radius: 3px;
    line-height: 26px;
    text-align: center;
    padding: 0;
}

.shopinfo-wrap .shopinfo .btn:hover {
    border-color: #ddd;
    background-color: #f5f5f5;
}

.item-detail {
    position: relative;
    width: 935px;
    float: left;
    display: inline-block;
}

.item-detail .tabbar-wrap {
    background-color: #f2f2f2;
    display: block;
    height: 44px;
    border: 1px #DDD solid;
}

.item-detail .tabbar-wrap .tabbar {
    float: left;
    position: relative;
}

.item-detail .tabbar-wrap .tabbar li {
    float: left;
    width: 130px;
    height: 42px;
    border-right: 1px #DDD solid;
}

.item-detail .tabbar-wrap .tabbar li a {
    display: block;
    line-height: 42px;
    font-size: 14px;
    text-align: center;
}

.item-detail .tabbar-wrap .tabbar li.cur {
    background-color: #fff;
    margin-bottom: -1px;
    height: 43px;
}

.item-detail .tabbar-wrap .tabbar li.cur a {
    color: #ff0000;
}

.item-detail .detail-content {
    display: block;
    padding-top: 20px;
    font-size: 14px;
    text-align: justify;
}

.item-detail .detail-content * {
    max-width: 100%;
}

.item-detail .props-table {

}

.item-detail .item-props {
    display: block;
    padding: 20px;
}

.item-detail .item-props li {
    width: 30%;
    float: left;
    padding: 5px 0;
    font-size: 14px;
}

.item-detail-right {
    display: inline-block;
    vertical-align: text-top;
    width: 230px;
    float: right;
}

.item-detail-right .inner {
    display: block;
}

.item-detail-right .hot-sale-title {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    background-color: #f40;
    color: #fff;
    border-radius: 4px 4px 0 0;
}

.item-detail-right .hot-item-list {
    display: block;
    padding: 10px;
    border: 1px #e8e8e8 solid;
    border-top: none;
}

.item-detail-right .hot-item-list li {
    display: block;
    margin-bottom: 10px;
    border: 1px #e8e8e8 solid;
}

.item-detail-right .hot-item-list li .g-pic {
    display: block;
    padding-top: 100%;
    position: relative;
}

.item-detail-right .hot-item-list li .g-pic img, .item-detail-right .hot-item-list li .g-pic a {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.item-detail-right .hot-item-list li .g-pic .g-name {
    position: absolute;
    width: 100%;
    bottom: 0;
    display: none;
}

.item-detail-right .hot-item-list li .g-pic .g-name p {
    padding: 10px;
    display: block;
    font-size: 13px;
    line-height: 1.2;
}

.item-detail-right .hot-item-list li .g-pic:hover .g-name {
    display: block;
    background-color: #fff;
}

.item-detail-right .hot-item-list li .line {
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    border-top: 1px #e8e8e8 solid;
}

.item-detail-right .hot-item-list li .line .price {
    font-size: 16px;
    color: #f40;
    font-weight: 700;
}

.item-detail-right .hot-item-list li .line .price span {
    font-weight: normal;
    font-size: 14px;
    margin-right: 3px;
}

.item-detail-right .hot-item-list li .line .sold {
    float: right;
    font-size: 12px;
    color: #888;
}
